<head>
    <?php $this->load->view('load_view'); ?>
</head>
<div class="col-wrap handin-wrap">
    <!--start col-->
    <div class="col handin">

        <div class="wrap-title">
            <p class="page-title">操作结果</p>
        </div>
        <?php
        if($result==true) {
            ?>
        <p class="desc bg">
                <?php echo '操作成功：'.count($coursename).'条内容受到影响'; ?>
        </p>
        <ul class="result">
            <li class="resulttitle">课程名称</li><li class="resulttitle">老师</li><li class="resulttitle">学期</li>
                <?php
                for($i=0;$i<count($coursename);$i++) {
                    ?>
            <li><?php echo $coursename[$i]; ?></li>
            <li><?php echo $teachername[$i]; ?></li>
            <li><?php echo $year; ?></li>
                <?php
                }
                echo '<div class="clear"></div></ul>';
            }
            ?>
            <p class="control">
            <a href="<?php echo site_url('admin/syllabus/addcourse'); ?>"><span>返回添加</span></a>
            </p>
    </div>
    <!--end col-->
</div>
<!--end col-wrap-->